package com.wz.project.system.prjgroup.service;

import com.wz.project.system.employee.domain.Employee;
import com.wz.project.system.employee.domain.EmployeeVO;
import com.wz.project.system.prjgroup.domain.Prjgroup;
import com.wz.project.system.prjgroup.entity.PrjgroupEntity;

import java.util.List;

public interface PrjGroupService {
    List<Prjgroup> selectPrjGroupList(Prjgroup prjgroup);

    /**
     * 项目组 select
     * @param prjgroup
     * @param pageNum
     * @param pageSize
     * @return
     */
    List<PrjgroupEntity> selectPrjGroupListJpa(Prjgroup prjgroup, Integer pageNum, Integer pageSize);

    int insertOne(Prjgroup prjgroup);

    Prjgroup selectOneById(Integer prigroupId);

    int update(Prjgroup prjgroup);

    int deletByIds(String ids);

    List<EmployeeVO> selectEmployeesByPrjgroupId(Prjgroup prjgroupId,Employee employee);

    int saveEmployeesAndPrjgroup(Integer prjgroupId, String employeeIds);

    List<Prjgroup> selectPrjgroupByDeptId(Integer deptId);



}
